package stu.aistar.util;

import java.util.Random;

public class RandomUtils {

    public static String getNumber(Integer n){
        String str = "0123456789";
        StringBuilder stringBuilder = new StringBuilder();
        for (int i = 0; i < n; i++) {
            stringBuilder.append(str.charAt(new Random().nextInt(str.length())));
        }
        return stringBuilder.toString();
    }
}
